package com.lifa.dao;

import com.lifa.entity.Kucun;
import com.lifa.entity.RuKutable;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 123
 */
public interface KucunDao {
    //库存统计
    public List<Kucun> kucun();

    public List<Kucun> kucuenfenye();

    /**
     * 总条数
     * @param Shangpin_Name
     * @return
     */
    public long kucuenzongtiaoshu(@Param("Shangpin_Name") String Shangpin_Name);

    public List<RuKutable> selectruke();

    public int updruku(@Param("Shangpin_Id") int Shangpin_Id,@Param("kucunshul")int kucunshul);

    public int updrukujian(@Param("Shangpin_Id") int Shangpin_Id,@Param("kucunshul")int kucunshul);
}
